﻿using System.ComponentModel;
using Microsoft.VisualStudio.Shell;

namespace SmartStringResources.VsPackage
{
	public class Options : DialogPage
	{
		private bool _autoUpdate = true;

		[DisplayName("Auto create files")]
		[Description("Automatically creates the smart string resource file when a resx file is added to the project")]
		[DefaultValue(false)]
		public bool AutoCreate { get; set; }

		[DisplayName("Auto update files")]
		[Description("Automatically updates the smart string resource file when a resx file is saved")]
		[DefaultValue(true)]
		public bool AutoUpdate
		{
			get { return _autoUpdate; }
			set { _autoUpdate = value; }
		}
	}
}
